package com.ruoyi.common.core.domain.heytalk.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author zhusy
 * @since 2021/10/31
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("搜索用户入参DTO")
public class SearchUserDTO {

    /**
     * 搜索关键字
     */
    @ApiModelProperty(value = "搜索关键字", name = "keyword", required = true)
    @NotBlank(message = "搜索关键字不能为空")
    @Size(max = 50, message = "搜索关键字长度限制30字符以内")
    private String keyword;

}
